$ () ->
	$(".create_btn").click (e) ->
		param =
			new_password: $("#new_password").val()
			confirm_password: $("#confirm_password").val()
		$.post "/api/admin/account/update-password", param, (res) ->
			if res.status.errCode is 0
				alert "修改成功"
			else
				alert res.status.errCode
